presto-main/src/main/java/io/prestosql/metadata/DiscoveryNodeManager.java/DiscoveryNodeManager/stop
class DiscoveryNodeManager:    @PreDestroy
    public void stop()
    {
        nodeStateUpdateExecutor.shutdownNow();
    }