add tcp client reconnect