修复socket不正常