presto-main/src/main/java/io/prestosql/server/QueryResource.java/QueryResource/cancelQuery
class QueryResource:    @DELETE
    @Path("{queryId}")
    public void cancelQuery(@PathParam("queryId") QueryId queryId)
    {
        requireNonNull(queryId, "queryId is null");
        dispatchManager.cancelQuery(queryId);
    }