Improved cleanupPtPool