public void await() throws InterruptedException {
    do {
      stopper.checkCancelInProgress(null);
    } while (!delegate.await(retryIntervalNanos, NANOSECONDS));
  }
@param stopper the CancelCriterion to check before awaiting
@param count the number of times {@link #countDown} must be invoked before threads can pass
       through {@link #await()}

@throws IllegalArgumentException if {@code count} is negative
geode-core/src/main/java/org/apache/geode/internal/util/concurrent/StoppableCountDownLatch.java