Implemented driver quitting after 10 URLs to prevent memory hogging