Use a CountDownLatch instead of sleep for jobs_timeout_spec