refetch chat history when reconnecting