I had the same problem and basically tried all of the methods mentioned scattered over google, plus some others.
Used Neo4j instead of py2neo, using write_transaction. This didn't work
Set the max_connection_lifetime, keep_alive parameters etc. This ...