Rare case issue - log out before inv is opened.