Split discovery request and response handling into two seperate threads. Requests are now send at set intervals instead of constantly. DiscoveryThread renamed because it is not a thread anymore.