Clean up the Broker event handler.