code: public synchronized void stopDebugServer() {
          if (mDebugServer == null) {
              Log.e(TAG, "Debug server is not running.");
              return;
          }
  
          mDebugServer.shutdown();
          mDebugServer = null;
      }
docs: Stops the current debug server. Active connections are
  not affected.