Hello @Vaidhyanathan Pranatharthiharan ,
When the cluster is correctly sized to handle the expected workload, you shouldn't even hit this exception as the connections are automatically managed, both on client and server sides.
The clients use an internal connection pool, so the number of concurrent connections from a single client is proportional to the number of threads that are currently doing operations from the client. If you are unable to control the number of threads on the client side, the pool itself has several parameters that can be used to tune how the connections are acquired/released, you might try with min-connections and max-connections.
Best regards.