Added socket error alerts.