public boolean await(long timeoutMs) throws InterruptedException {
    stopper.checkCancelInProgress(null);
    return condition.await(timeoutMs, TimeUnit.MILLISECONDS);
  }
Create a new StoppableCondition based on given condition and cancellation criterion

@param c the underlying condition
geode-core/src/main/java/org/apache/geode/internal/util/concurrent/StoppableCondition.java