title: psycopg2.DatabaseError: SSL connection has been closed unexpectedly
body: <p>I am facing issues committing to my RDS postgres instance using psycopg2. Everything was working fine earlier, just started noticing it recently.</p>
  
  <p>What does this error mean? Is there anyway my postgres DB/table(s) are corrupt? All of the SQL query prior to committing is working, but I am only seeing this error at the time of <code>commit</code>. </p>
  
  <p><code>psycopg2.DatabaseError: SSL connection has been closed unexpectedly
  CONTEXT:  Remote SQL command: COMMIT TRANSACTION</code></p>