update telnet5.c (thread) and Chapter05 END