implementing retry.
instance Exception DNSError.
withResolver'.