scraper.js now exits on success