release postgres connections to pool

Fixes connection pooling, closing #15