Running cypher queriers in Executor Service Connection to the database failed

Facing the below exception while executing cypher queries. Java Code is connected to cloud db.

org.neo4j.driver.exceptions.ServiceUnavailableException: Could not perform discovery for database 'nflows'. No routing server available.
at org.neo4j.driver.internal.util.Futures.blockingGet(Futures.java:111) ~[neo4j-java-driver-4.4.7.jar:4.4.7-3c0b9ab64a2ee57abc45be64d9e39a5df78df9b7]
at org.neo4j.driver.internal.InternalSession.beginTransaction(InternalSession.java:90) ~[neo4j-java-driver-4.4.7.jar:4.4.7-3c0b9ab64a2ee57abc45be64d9e39a5df78df9b7]
at org.neo4j.driver.internal.InternalSession.beginTransaction(InternalSession.java:85) ~[neo4j-java-driver-4.4.7.jar:4.4.7-3c0b9ab64a2ee57abc45be64d9e39a5df78df9b7]
at org.neo4j.ogm.drivers.bolt.transaction.BoltTransaction.newOrExistingNativeTransaction(BoltTransaction.java:62) ~[neo4j-ogm-bolt-driver-3.2.36.jar:3.2.36]
at org.neo4j.ogm.drivers.bolt.transaction.BoltTransaction.<init>(BoltTransaction.java:50) ~[neo4j-ogm-bolt-driver-3.2.36.jar:3.2.36]
at org.neo4j.ogm.drivers.bolt.driver.BoltDriver.lambda$null$0(BoltDriver.java:128) ~[neo4j-ogm-bolt-driver-3.2.36.jar:3.2.36]
at org.neo4j.ogm.session.transaction.DefaultTransactionManager.openTransaction(DefaultTransactionManager.java:75) ~[neo4j-ogm-core-3.2.36.jar:3.2.36]
at org.neo4j.ogm.session.transaction.DefaultTransactionManager.openTransaction(DefaultTransactionManager.java:61) ~[neo4j-ogm-core-3.2.36.jar:3.2.36]
at org.neo4j.ogm.session.Neo4jSession.beginTransaction(Neo4jSession.java:525) ~[neo4j-ogm-core-3.2.36.jar:3.2.36]

Neo4j Version - 4.4.7

I'm running cypher queries in executor service with a thread pool of size 3. Is this the reason for getting Futures.blockingGet()

You're not using Spring, correct? Just OGM? Are you able to connect to the database directly (using Neo4j Browser or Cypher shell or something)?