Improved logging for intermittently failing LockFileTest NEXUS-C313 (PR #396)