private void dipsoseTestTools() {
		AbstractGuiTest.runSwing(() -> {
			disposeSingleTool(tool);

			for (PluginTool pt : extraTools) {
				disposeSingleTool(pt);
			}
			extraTools.clear();
		});
	}
Closes the given tool.  This method is asynchronous, so you must wait for the Swing thread
to perform the work yourself.  Watch out for modal dialogs.
@param toolToClose The tool to close.
Ghidra/Features/Base/src/main/java/ghidra/test/TestEnv.java