public synchronized void dispose() {
		holdLock(false);

		if (waitTimerMonitor != null) {
			waitTimerMonitor.cancel();
			waitTimerMonitor = null;
			waitTask = null;
		}
		if (lockCount != 0) {
			removeLock();
		}
	}
Cleanup lock resources and tasks.
Invoking this method could prevent stale locks from being removed
if createLock was invoked with a very short timeout.
Use of dispose is optional - the associated wait task should 
stop by it self allowing the LockFile object to be finalized.
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LockFile.java