Creates the factory and sets the thread pool used to generate
InaccurateTimeoutWatchdogs.
if (theThreadPool == null) {
throw new IllegalArgumentException("The thread pool for the ThreadPerWatchdogFactory cannot be null.");
}
myThreadPool = theThreadPool;
this.timeout = timeout;