Update ChatActivity to wait connection