private void doNotRun() {
			// We can only cancel if worker monitor allows it
			commandKilled = true;
			exception = new InvocationTargetException(new CancelledException());
			workerMonitor.cancel();
			synchronized (this) {
				notifyAll(); // Allow waiting scheduleWorker method to return
			}
		}
<code>AnalysisWorkerCommand</code> facilitates the controlled callback to an AnalysisWorker.
In a Headed environment a modal task dialog will be used to block user input if the
worker was scheduled with analyzeChanges==false
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AutoAnalysisManager.java