Call isc__nm_tlsdns_failed_read on tls_error to cleanup the socket

Ondřej Surý requested to merge ondrej/call-failed_read-from-tls_error into main

In tls_error(), we now call isc__nm_tlsdns_failed_read() instead of just stopping timer and reading from the socket. This allows us to properly cleanup any pending operation on the socket.

Merge request reports