@Override
  public void setException(Throwable exception) {
    ((LocalResultCollector) rc).setException(exception);
    // this.lastResult(exception);
    logger.info("Unexpected exception during function execution local member",
        exception);
    rc.endResults();
    localLastResultReceived = true;
  }
Have to combine next two construcotr in one and make a new class which will send Results back.
geode-core/src/main/java/org/apache/geode/internal/cache/execute/MemberFunctionResultSender.java