fix some ut bug like unclosed server socket