[tor-commits] [stem/master] Match loop scope to thread