public void stop() throws InterruptedException {
        if (server != null) {
            server
                    .shutdown()
                    .awaitTermination(30, TimeUnit.SECONDS);
        }
    }
Server that manages startup/shutdown of the GRPC Tika server.
tika-grpc/src/main/java/org/apache/tika/pipes/grpc/TikaGrpcServer.java