trq-2237 Unlock the job before traversing the arrays.
Merge branch 'master' of https://github.com/adaptivecomputing/torque