Cleanup in IndexedObjectPool.