Add ecore_shutdown to shut the ecore of ttse_main