Remove inMemoryMessageStore references from MessagingEngine.