code: public CompletableFuture<Void> stop() {
          numPendingStopRequests.incrementAndGet();
          return startStop.stop().thenRun(numPendingStopRequests::decrementAndGet);
      }
docs: Stops the server. This method does nothing if the server is stopped already.