Remove finished tasks