invalidate tasks instead of destroying them, which makes the next actions list more stable