ctl/pause: only perform a wait if there is more work to do
This avoids an infinite loop when all of the runners have been paused and completed any in-progress jobs.
This avoids an infinite loop when all of the runners have been paused and completed any in-progress jobs.