Is it worth to be patient? Analysis and optimization of delayed mobile data offloading