Removing completed tasks