Issue #17

The main problem was __gshared in connection wrapper. It makes field to be static and due this moment all connections aren't released while closing wrapper connection. 

This pull request remove almost all __gshared from code (my code), that fixes almost all future problems with this nightmare. Also libpq is forced to be unloaded while server restarting.