捕获clientError并销毁socket-socket.destroy()