data race fix in job_sender