public void stopMonitoringQueryExecution(final ExecutionContext executionContext) {
    executionContext.getCancellationTask().ifPresent(task -> task.cancel(false));

    if (logger.isDebugEnabled()) {
      logDebug(executionContext, "Query completed before cancelation.");
    }
  }
Stop monitoring the query.

Must not be called from a thread that is not the query thread, because this class uses a
ThreadLocal on the query thread!
geode-core/src/main/java/org/apache/geode/cache/query/internal/QueryMonitor.java