3959: crunch-job use job locking API
Merge branch 'master' into 3859-crunch-job-use-lock
Merge branch '3859-crunch-job-use-lock' closes #3859