docs: private synchronized void registerWatchdog(Long key, Watchdog wd) {
          if (wd == null) {
              throw new NullPointerException("Thread");
          }
          if (wd.getThread() == null) {
              wd.restart();
          }
          registeredWachdogs.put(key, wd);
      }