public static TimeoutTaskMonitor timeoutIn(long timeout, TimeUnit timeUnit) {

		TaskMonitor delegate = new TaskMonitorAdapter(true);
		TimeoutTaskMonitor timeoutMonitor = timeoutIn(timeout, timeUnit, delegate);
		return timeoutMonitor;
	}
Creates a timeout task monitor that will be cancelled after the specified timeout.

@param timeout the timeout value
@param timeUnit the timeout time unit
@return the newly created monitor
Ghidra/Framework/Generic/src/main/java/ghidra/util/task/TimeoutTaskMonitor.java