ensure tabs are closed on errors #chromessr