Reconnect client if needed