If connection pooling is enabled, the SnowflakeConnection takes an open session from the connection pool if one is available. Otherwise, it signs in to Snowflake and creates a new session.
Note: If the SnowflakeConnection goes out of scope, the connection it represents does not close automatically. Therefore, you must explicitly close the connection by calling Close.