close browser after session