Remove old tasks.