More robust UDP tracker code