terminating the console telnet connection