use add=TRUE in cummulative on.exit