refactor(simulator): move main process unhandled or uncaught error