fix tcp_service::closeSocket delete bug