[tor-commits] [flashproxy/master] use with-syntax for locks