Perhaps udp conns shouldn't be closed as eagerly as its tcp counterpart Netstack's udp conn is apparently a 'connected udp' socket and it goes through a lot of motions, from what I can tell, to support both unconnected and connected udp sockets. This is untested and unconfirmed speculation from us,
(who string, s *stack.Stack, h GUDPConnHandler)
source not stored for this graph (policy: none)
no test coverage detected