Fix UdpBroadcaster and UdpClient

UDP broadcast message can now be correctly sent and received.
MainActivity now correctly stop background threads.