close browser on error, not quit