private void processCancelledGroups() {
		for (GTaskGroup group : taskGroupList) {
			for (GScheduledTask task : group.getTasks()) {
				taskCompleted(task, new CancelledException());
			}
			notifyGroupCompleted(group);
		}
		taskGroupList.clear();
	}
Cancels all scheduled groups and tasks. The TaskMonitor for
the currently running task will be cancelled, but the task will continue to run until it
checks the monitor.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java