Fix cosmetic keyboard-interactive issue: at the end of a normal k-i session,