Fix sleep on mDNS/DNS-SD query error