Intermittent Failed IP Connection

When executing a Cypher query from a Python environment, the following error is displayed (many times) in the console.

Failed to write data to connection ResolvedIPv4Address(('XX.XX.XX.XXX', 7687)) (ResolvedIPv4Address(('XX.XX.XX.XXX', 7687)))
Failed to write data to connection IPv4Address(('xxxxxxxx.databases.neo4j.io', 7687)) (ResolvedIPv4Address(('XX.XX.XX.XXX', 7687)))

Yet, if I wait long enough, sometimes the query does in fact execute without issue, despite all of the "Failed to write data..." messages. Other times the queries do not execute.

Has anyone else encountered this, and is it possible to resolve these messages?