Added mdns error handling