Fix a resource leak that was causing Limelight-Embedded to hang instead of exiting after using mDNS discovery