Fix error caused by chromeTabs trying to close an already closed tab