I noticed some days ago that connections to libvirt from java binding
with SSH URL leaves an SSH shell opened even after a
connection is closed.
The version of libvirt-java could be the problem. I think they fixed this behavour after the 0.4.2 version (src: http://libvirt.org/git/?p=libvirt-java.git;a=shortlog).
Thank you in advance.