title: Failed to read from defunct connection (Jupyter notebook, python driver )
body: <p>I try to import data into a Neo4j VM in Azure.</p>
  <p>This code works:</p>
  <pre><code>def create_article(tx):
      tx.run(&quot;CREATE (a:ARTICLE)&quot;)
  
  session.read_transaction(create_article)
  </code></pre>
  <p>But this code doesn't work:</p>
  <pre><code>def create_node_article(tx, id, title, label):
      tx.run(&quot;CREATE (a:ARTICLE {id:$id, title:$title, label:$label})&quot;, id=id, title=title, label=label)
  
  for index, row in df_article_ids.iterrows():
      session.read_transaction(create_node_article, row['id'], row['cleaned_best_title'], row['label'])
  </code></pre>
  <p>I have the error:</p>
  <blockquote>
  <p>Transaction failed and will be retried in 1.0608892687544587s (Failed
  to read from defunct connection Address(host='IP', port=7687)
  (Address(host='IP', port=7687)))</p>
  </blockquote>
  <p>I don't know what I have to change or check. I also tried Neo4j Desktop and I have the same error.</p>
  <p>Neo4j version: 4.1.3</p>