I'm trying to modify our server to allow a message to cause it to clean up and exit. Currently, I've got code in our IoHandler that receives the message and cleans up 'everything else', but when I try to unbind() the IoAcceptor, the thread exits and leaves the connection unclosed (ie: the telnet session I am testing with remains open). Additionally, I still see a couple of MINA-related threads running (and NioProcessor thread & some thread-pool threads).
What am I missing? Am i going about this the wrong way? -adam
