Automatically close last visited tabs, if more than maxTabs.