Place leak fixed.

Simplest fix - short lock on _dict taken in the two conflicting places.