send messages to the server when a topic is opened