Stop current scrape and return

Hi,

Currently I have to manually stop a scrape on a paginated website because the next button on the site won't disappear when there are no more results. I would like to search the site for multiple terms as in tutorial 7. However, if I do session.stopScraping() when there are no more results, it completely stops the program even if there are more terms I want to search on. Is there any way to return back to the loop and continue scraping?

Edit: Got this figured out.