clear chat history on network close or network error
when closing a connection, remove client_id data before removing client from a game