On FreeBSD, we sometimes see spurious transient EADDRINUSE errors
when connecting to a UDP socket. We now try a few times to ensure
the error is real before giving up.
This commit also fixes a memory leak that occurred if an error was
encountered in isc__nm_async_udpconnect().