close the scrapping window after run is done