The discovery of devices is now done through a service to avoid a problem where the socket was closing when the UI was being recreated.
The discovery of devices is now done through a service.