do_outgoing_connection() may delete a failed connection, and the structure