remove stay tasks from SystemState.tasks