Fix for memory leak in PoolHarvester