STASHDEV-7788 Fix for `LockTest.testLockInterruption`.
Note that there is still a fundamental race condition in the test that cannot easily be
eliminated, as an `interrupt`ed `tryLock` call may still throw `InterruptedException` even
though the remote `LockOperation` is executing and may ultimately succeed.