Implement 'remove all finished tasks'