[tor-commits] [stem/master] Move class methods out of `AsyncController` to reuse them