add awaitBrokerDestroyed