Don't return the same object when the pool is non-empty

Resolves #1