Reuse one session for multiple queries

When performing multiple queries, establish a connection to the instance before performing any queries and reuse this connection for all of the queries.

For example, if you use a for loop to iterate through multiple queries, establish the connection outside of the for loop, then perform each query within the for loop using the established connection.