3724. [bug] win32: Fixed a bug that prevented dig and
host from exiting properly after completing
a UDP query. [RT #35288]
(cherry picked from commit a8cdf2a2e7)
(cherry picked from commit b603c50553)