Fix bug with Client.group sending messages when the connection is offline