Improve error handling in udpConnHandler.go