test connection and reset on connection error
Merge branch 'ChatManager' of github.com:sepm-depm/sepm-group into ChatManager