This should prevent a race between delete_job_operation() and delete_job_lease() when dropping Job objects after execution. #160