catch exit with exception(SystemExit)