close driver after all screenshots have taken