Possible fix for crash caused by race condition when the Bonjour service is published multiple times