fix tcp send timout,recv thread exit