Replace -o with -a on ra_stop while loop