@Override
  public boolean activate() {
    synchronized (this) {
      try {
        while (waitingToSwitch) {
          wait();
        }
      } catch (InterruptedException ex) {
        Thread.currentThread().interrupt();
      }
      if (isDestroyed() || shouldDestroy()) {
        return false;
      }
      if (active) {
        throw new InternalGemFireException("Connection already active");
      }
      active = true;
      return true;
    }
  }
Set the destroy bit if it is not already set.

@return true if we were able to set to bit; false if someone else already did
geode-core/src/main/java/org/apache/geode/cache/client/internal/pooling/PooledConnection.java