public static void removeTrackedTask(Task task) {
		if (!SystemUtilities.isInTestingMode()) {
			return;
		}

		runningTasks.remove(task);
		for (TrackedTaskListener listener : listeners) {
			listener.taskRemoved(task);
		}
	}
Removes the Task to the list of tasks that have not yet finished running.
@param task The task to stop watching.
Ghidra/Framework/Gui/src/main/java/ghidra/util/TaskUtilities.java