Close the UDPConn before returning if `setUDPSocketOptions` went wrong (#1227)
Close the UDPConn before returning if `setUDPSocketOptions` went wrong (#1227)

Detail: https://github.com/miekg/dns/issues/1226
miekg/dns