Set flag of active transaction to false before throwing an exception
Merge branch 'master' of github.com:denismilovanov/LibPostgres