fix race condition in job_queue when running multiple job servers