Fix CloseAllTabs method. Old don't work.