Add a unit test for udp timeouts.