kalua: watch: dns_resolution() cleanup and produce a coredump if dnsmasq hangs