title: Google Cloud SQL Second generation -> "Aborted connection"
body: <p>I am running a Java + JPA/Hibernate application on Appengine and switched my database from the first generation Google Cloud SQL instance to the second generation and now get a lot of this errors:</p>
  
  <pre><code>2017-05-20T22:49:53.533247Z 2235 [Note] Aborted connection 2235 to db:
  'mydb' user: 'root' host: 'cloudsqlproxy~myip' 
  (Got an error reading communication packets)
  </code></pre>
  
  <p>As far as I can tell, most of these error occur during database requests inside task queue tasks.</p>
  
  <p>This did not happen with the first generation. How can this be avoided?</p>