@Override
    public void run() {
      try {
        run2();
      } catch (VirtualMachineError e) {
        SystemFailure.initiateFailure(e);
        throw e;
      } catch (CancelException ignore) {
        if (logger.isDebugEnabled()) {
          logger.debug("Pool task <{}> cancelled", this);
        }
      } catch (Throwable t) {
        logger.error(String.format("Unexpected error in pool task <%s>", this), t);
      }

    }
Test hook flag to notify observer(s) that a primary is recovered either from a backup or from a
new connection.
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java