TerminalSession: missing break fixed