private synchronized void shortCutAndRunNextJob() {

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

		if (queue.isEmpty()) {
			trace("\t" + methodName + " no pending jobs; leaving");
			// nothing to shortcut (leave any current job running when there are none waiting)
			return;
		}

		performShortcutFunction(() -> {
			shortcutAsMuchAsPossible(false);
		});

		// 
		// Run whatever is left
		//
		trace("\t" + methodName + " at end; calling runNextJob()");
		maybeRunNextJob();
	}
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