add exit 0 at the end of SH_exit_handler