- added connection error handlers