fixed a race condition inside our SimpleEventBroker