Actually I don't think we ever set it to null.
Anyway, currently some code (due to bug for example) can release the lock of another operation without owning the lock.