internal void SetKeepGoing(GraphStageLogic logic, bool enabled) { if (enabled) _shutdownCounter[logic.StageId] |= KeepGoingFlag; else _shutdownCounter[logic.StageId] &= KeepGoingMask; }