liucheng for close client,and remove repeat connect for server