[tor-commits] [tor/master] On locking failure, return -1 instead of exit()ing.