Added ensure scraper close