Waiting time has to be longer than the execution time in cloud