@VisibleForTesting
  ReentrantReadWriteLock getConnectionLifeCycleLock() {
    return connectionLifeCycleLock;
  }
This count is reset to 0 each time a successful connection is made.
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/GatewaySenderEventRemoteDispatcher.java