[tor-commits] [tor/master] Split connection_about_to_close_connection into separate functions