Fix an issue causing lock contention in ObtainProxyType
Merge pull request #60 from ksjoberg/master

Fix an issue causing lock contention in ObtainProxyType