I have the exact same problem, i.e the server is not responding with a "Connection: close"-header when I believe it should.
How did your setup look like Jeanfrancois?
[Message sent by forum member 'reanim8or' (krister.kramer_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=365116