EMI: Avoid deleting pool objects while iterating