Add client reconnect on socket close.