Add task to purge cancelled tasks