This change prevents repetition in most later calls of the resolver in case the DNS server or the network connection is broken. (cherry picked from commit 310647e9)