I am sure that I am using seperate threads with seperate connection objects and libpq is compiled to be threadsafe.
I get access violation both with ssl and without it (without ssl it seems to be more stable, however afer several hundred connects/disconnects it fails).
J.