Added reconnect for clients.