[tor-commits] [stem/master] Make Relay thread safe