close expired thread tab.
switch to extension because manifest.json is rejected.