made sure transactions close and pooled connections work
Merge pull request #2 from twobraids/transaction-fixes

made sure transactions close and pooled connections work