Fix for TRQ-1838 - pbs_server is hung - deadlock.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev