I believe the library is spawning a new connection for each query sothat makes perfect sense.
I will see what improvements can be made at the application layer andlook at using pgbouncer if required =)
Thank you for sharing your knowledge!