firebase chat, socket disconnects