Added logout wait, this is a fail on CI