private synchronized void clearAllJobs() {
		trace("clearAllJobs()");
		finalJob = null;
		Queue<GraphJob> oldQueue = queue;
		queue = new QueueStub<>();
		oldQueue.clear();

		trace("\tcurrent job: " + currentJob);
		if (currentJob != null) {
			currentJob.dispose();
		}
		currentJob = null;
	}
Clears any pending jobs, stops the currently running job ungracefully and updates this
class so that any new jobs added will be ignored.
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/GraphJobRunner.java