[tor-commits] [stem/master] Start awaiting finishing of the loop tasks while closing controllers