title: "socket closed" error when I try to send/receive a jxrpc over a socket stream
body: <p>This is my code:</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  mapper.configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, false);//suggested by fge
  
  Socket s = new Socket("127.0.0.1",port);
  mapper.writeValue(s.getOutputStream(),anObjectRequest);//this works
  Aresponse res = mapper.readValue(s.getInputStream(),AresponseClass.class);
  </code></pre>
  
  <p>I get that the socket is closed.</p>
  
  <p>But, if look into wireshark, I see the server correctly receives the request and correctly sends the answer too!
  Where is the problem?</p>