Parameterize duration and cleanup