当检测到remote socket断开,主动close本地socket,消除CLOSE_WAIT