handle socket error