Close the telnet connection.