Fixed bug for unlock being skipped on thrown exception