modified message bus to publish events async.