ResourcePool: If object replacement fails, remember that we're missing one.

why was this removed? do other tests need to verify?