```\nFile: BondBaseSDA.sol\n        // Circuit breaker. If max debt is breached, the market is closed\n        if (term.maxDebt < market.totalDebt) {\n            _close(id_);\n        } else {\n            // If market will continue, the control variable is tuned to to expend remaining capacity over remaining market duration\n            _tune(id_, currentTime, price);\n        }\n```\n