Fixed race condition for updating zeroconf service