code: void awaitContainerStability(long timeout, TimeUnit timeUnit, final boolean interruptibly)
              throws InterruptedException, TimeoutException {
          if (interruptibly) {
              stateMonitor.awaitStability(timeout, timeUnit);
          } else {
              stateMonitor.awaitStabilityUninterruptibly(timeout, timeUnit);
          }
      }
docs: Await service container stability.
  
  @param timeout maximum period to wait for service container stability
  @param timeUnit unit in which {@code timeout} is expressed
  @param interruptibly {@code true} if thread interruption should be ignored
  
  @throws java.lang.InterruptedException if {@code interruptibly} is {@code false} and the thread is interrupted while awaiting service container stability
  @throws java.util.concurrent.TimeoutException if service container stability is not reached before the specified timeout