use non-zero exit code if lock could not be aquired.