uncommented connection error handler