Fix issue with continued-connections when the DNS shifts unreliably