Handle forceful termination, e.g., ctrl+c
EngineModule.terminate()
dgs.models.engine.engine.EngineModule.set_model_mode
dgs.models.engine.engine.EngineModule.test