Fix locking issue in TahoeConnection; move urlopen() outside the lock, which is also used for releasing connections from the pool