[JENKINS-19446] - Job.delete method was slightly reworked to perform more granular locking