Attempt to handle occasional socket.gaierrors by recreating the udp socket; if this fails, or on any error, log the address being sent to, too.