Added a retry to the udp client. Sends the original packet at timeout/2 if the
responce packet is not recieved yet.