fix for previous incorrect fix of cancellation in dns lookups
fix for previous incorrect fix of cancellation in dns lookups

uninitialized file descriptor was being closed on return, causing
stdin to be closed in many cases.

davidlazar/musl,davidlazar/musl,chardi/musl,chardi/musl,chardi/musl