[tor-commits] [stem/master] Make controller cache thread safe