Well, I'd start a new telnet/ssh session and then log out from this one and then check again. Trouble is, your current session is using pts/0, together with whatever was left from an older session, and that is a bit confusing...
Also, I'd want to check out what the parent process of the 'leftover -ksh' process is.
# ps -ef|grep 421946
HTH,
p5wizard