[tor-commits] [tor/master] Avoid a double-close on one failing case of the socketpair replacement code