handle CollectionTerminatedException correctly in handleNodeCollect()