It seems like this PR https://github.com/QuantConnect/Lean/pull/8266 will introduce a method onError that we can use to catch these errors and cancel orders. We need to keep an eye on it.