code: @Override
    public void shutdown() {
      LOG.info("Shutting down ...");
      shouldShutdown = true;
      if (tserver != null) {
        tserver.stop();
      }
      started = false;
    }
docs: Called when the Namespace Notifier server should shutdown.