public void taskProcessed() {
		finished.countDown();
		Swing.runLater(closeDialog);
	}
Called after the task has been executed or when the task is cancelled
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskDialog.java