158159160161162163164165166167168
ShellUtil.logException(session, t); } } else { // We are going into full blown interactive shell mode. session.run(); } } finally { terminalFactory.destroy(); } }