@Override
	public void checkCancelled() throws CancelledException {

		super.checkCancelled();

		pause();
	}
Task monitor that will trigger a {@link #wait()} when {@link #checkCancelled()} is called.  This
allows clients to watch algorithms as they proceed.
Ghidra/Framework/Graph/src/test/java/ghidra/graph/algo/viewer/AlgorithmSteppingTaskMonitor.java