Timed particle effect

i have a spaceship type game and when it explodes i only want the particle effect to last like 3 seconds how would i do this… I know there is a particle effect clean up but i would i call it after a certain amount of time. thanx in advance for ur help

try doMethodLater:
panda3d.org/manual/index.php/Tasks