Reuse connected address on retry

This patchset will reduce number of requests to nameservers.