Properly handle outer TCP connection closed in TCPDNS.
If the connection is closed while we're processing the request we might access TCPDNS outerhandle which is already reset. Check for this condition and call the callback with ISC_R_CANCELED result.
Closes #2227 (closed)