Hi Marcelo,
Thanks, I did most of those changes you did, myself already, with the exception that I added DATABASE= instead of DB= for the database connection string parameter.
With the DATABASE= connection string parameter, I got the error message "Schema <schema name> not exists or not authorized"
Now that I use DB= i get only the error message "The connection has timed out", after a few seconds, although time out settings in snowflake are much higher.

Regards,
Daniel
UPDATE, it works now, had to increase timeout in app to be a bit bigger than 10 seconds, plus it turned out I have 4 big queries running in snowflake. When I cancelled those, my queries worked fast.