Fix UDP test case

This should hopefully fix it on Windows