regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests