Add close() support

Add a close() function to UdpSender and UdpReceiver that calls udp.close().
Useful e.g. for livecoding with coffee -w