- StrataEngine.close() (now also the unload and the restart): QUIT and EOF, then terminate, then kill, each with 20 s
as the unload had (#333 went from QUIT straight to kill after 10 s; an engine unpinning tens of GB can need more).
A process that outlives all three raises EngineStuck and stays owned.
- do_POST caught every RuntimeError as a 503 - EngineDied, GpuBusy and ModelBusy are RuntimeErrors too, and any other
failure was turned into a vague 503. Only EngineStuck is caught now (also around POST /unload, and the idle-unload
thread survives it); EngineDied keeps its own answer.
- test_lifecycle: terminate before kill, EngineStuck, an EngineDied on load answered as such.