adjust sleeping time to million seconds when there is no job