win_dns_client state fixes