I'm not keen on this sleep/logic. Can we not have a new expect value for the scenario of returning immediately after signing out?