Close browser after prerender