Retake status file lock if an error caused it to be lost (for WebJobs).

Fixes #1340
if the _resetLockedStatusFile() throws, what is the state of _lockedStatusFile.  If we are in critical state, we might as well let the exception bubble than swallowing.