Added connection error alerting