close tabbed after last tab died