That sounds like the CloseEvent isn't run. Do you continue to do selectBlocking / selectNonBlocking on the client NIOService after close? Otherwise the CloseEvent (which is supposed to run on the NIOService thread), isn't called and the socket isn't closed.
If that's the error, then this also suggests that you might be running multiple NIOService instances? That's usually not necessary.
/Christoffer
P.S. Calling close on the underlying socket will work, but like I said it sounds like you're terminating NIOService early. I recommend fixing that instead.
> --
> You received this message because you are subscribed to the Google Groups "Naga Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
naga-users+...@googlegroups.com.
> To post to this group, send email to
naga-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/naga-users?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>