docs: protected void stopAndReleaseGrpcServer() {
          factory.destroy();
          Server localServer = this.server;
          if (localServer != null) {
              localServer.shutdown();
              this.server = null;
              log.info("gRPC server shutdown.");
          }
      }