private synchronized void shortCutAll() {

		String methodName = "shortcutAll()";
		trace(methodName + " - currentJob?: " + currentJob);

		performShortcutFunction(() -> {
			boolean allWereShortcut = shortcutAsMuchAsPossible(true);
			trace("\t\twere all jobs shortcut? " + allWereShortcut);
			if (allWereShortcut) {
				shortcutFinalJob();
			}
		});
	}
Shortcut as many jobs as possible to clear the queue and then trigger the run of the 
remaining jobs.
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/GraphJobRunner.java