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