delete invalid cleanup tasks.