Release lock before executing job.