Fix a race condition between pools.get and pools.set
Merge pull request #204 from AudriusButkevicius/master

Fix a race condition between pools.get and pools.set