Add a clean up task.