Move UDP listen inside try block

This is necessary when running tahoe with torsocks 2.x, as it now explicitly blocks UDP system calls.

This appears to fix [issue 2296](https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2296)