TRQ-1830. Don't fall through after finding a permanent failure in socket_connect_addr()