check if hostname not null before calling clearServiceHostInfo, set hostname to null in clearServiceHostInfo
check if hostname not null before calling clearServiceHostInfo, set hostname to null in clearServiceHostInfo

tmds/Tmds.MDns