public boolean cancel(String regionName, String senderId) {
    Future<CliFunctionResult> execution = executions.remove(getExecutionName(regionName, senderId));
    if (execution == null) {
      return false;
    }
    execution.cancel(true);
    return true;
  }
Contains the ongoing executions of WanCopyRegionFunction
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionService.java