Use -1 for indicating we want to exit out of rarch_main_iterate