If the server has no jobs, sleep until woken