cleanup telnet package