presto-main/src/main/java/io/prestosql/dispatcher/DispatchManager.java/DispatchManager/cancelQuery
class DispatchManager:    public void cancelQuery(QueryId queryId)
    {
        queryTracker.tryGetQuery(queryId)
                .ifPresent(DispatchQuery::cancel);
    }