private void releaseCommBuffer() {
    if (!commBufferReleased) {
      if (commBuffer != null) {
        synchronized (commBuffer) {
          if (!commBufferReleased) {
            commBufferReleased = true;
            ServerConnection.releaseCommBuffer(commBuffer);
          }
        }
      }
    }
  }
alternative constructor for unit tests. This constructor allows you to pass a
mock StatisticsProvider
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientUpdater.java