@Override
	public synchronized void setMaximum(long max) {
		this.maxProgress = max;
		if (taskDialog != null) {
			taskDialog.setMaximum(max);
		}
	}
Release associated domain object lock and close dialog.
All blocked waits will be notified.
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/LockingTaskMonitor.java