Simplify waiting for broker loop.