Ensure that zone maintenance queries have a retry limit
These queries include NOTIFY messages, DS parental checks, refresh SOA queries and stub zone nameserver lookups.
This change addresses the symptoms by setting a limit on the number of retries, but there remains an underlying issue that the overall request timeout is not being applied.
Closes #3242 (closed)
Edited by Tony Finch