Check the jid before killing the child job.
Extract threadsafe job access pattern in worker.
Merge branch 'dont_kill_wrong_job' into remove_exhausted_retries_error