added a sleep after consumers are added and before sending messages to ensure subscriptions are propagated