catch all socket.error