Connected不能作为判断连接的依据
Connected is not thread-safe; it may return true after an operation is aborted when the Socket is disconnected from another thread.
微软文档参考
一种Connected会误导开发者的情况,当你有2个线程都在用socket第一个线程使用者收发报文正常而另一个线程收发报文异常,在异步的情况先Connected可能依据第一个线程的结果等于true也可能依据第二个线程的结果等于false