[TSM] Close tabs in reverse order on load for #1784.