Remove completed tasks.