public void awaitStop() throws InterruptedException {
    if (!timerExecutor.awaitTermination(shutdownTimeout.getSeconds(), TimeUnit.SECONDS)) {
      LOG.error("{} timer executor did not shutdown cleanly.", getClass().getSimpleName());
    }
    if (!bftProcessorExecutor.awaitTermination(shutdownTimeout.getSeconds(), TimeUnit.SECONDS)) {
      LOG.error("{} bftProcessor executor did not shutdown cleanly.", getClass().getSimpleName());
    }
  }
Await stop.

@throws InterruptedException the interrupted exception
consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/BftExecutors.java