public void waitUntilDone() throws InterruptedException, Exception {
		try {
			queue.waitUntilDone();
		}
		finally {
			queue.dispose();
		}
	}
Waits for all work to finish. Any exception encountered will trigger all processing to
stop.  If you wish for the work to continue despite exceptions, then use
{@link #waitForResults()}.

@throws InterruptedException if interrupted while waiting
@throws Exception any exception that is encountered while processing items.
Ghidra/Features/Decompiler/src/main/java/ghidra/app/util/DecompilerConcurrentQ.java