forkpty creates many zombie telnet processes after they exit
explicitly set SIG_CHLD handler to SIG_IGN.