Putting each pin in own bundle refactoring duplicate code
Moving unregistration in own thread because of JmDNS lock