Fixed issue with message consumer being created after message producer sends message