code: private void stop() {
          if (m_bRunning) {
              instance().m_logger.info("Doradus Server shutting down");
              stopServices();
              ServerParams.unload();
              m_bRunning = false;
              m_bInitialized = false;
          }
      }
docs: Shutdown all services and terminate.