Don't send chat message when there is no connection.