title: MongoSocketReadException: Prematurely reached end of stream (after a period of inactivity)
body: <p>I get this error on a <code>find</code> call (default Java Driver) after a period of inactivity. I tried to add a manual heartbeat (writing to a capped collection), but it didn't help. I only get the issue while being connected to an instance on compose (i.e. not in a local context).</p>
  
  <p>MongoDB version is 3.2.8, latest driver (3.3), using Java 8.</p>
  
  <p>Any idea ?</p>