presto-main/src/main/java/io/prestosql/execution/SqlQueryManager.java/SqlQueryManager/stop
class SqlQueryManager:    @PreDestroy
    public void stop()
    {
        queryTracker.stop();
        queryManagementExecutor.shutdownNow();
        queryExecutor.shutdownNow();
    }