public void Join() { if (null == thread_) return; Disconnect(); thread_.Join(5000); thread_ = null; }