code: public synchronized void stop() throws Exception {
          if (!running) {
              return;
          }
  
          for (Connector each : this.connectors) {
              try {
                  each.stop();
                  each.setServer( null );
              } catch (Exception e) {
                  // ignore
              }
          }
  
          running = false;
      }
docs: Stop this server.
  
  @throws Exception
  @throws Throwable