Changed PostgreSQL queries to use transaction() method (wasn't closing transactions sometimes).
Changed PostgreSQL queries to use transaction() method
(wasn't closing transactions sometimes).

johnbywater/eventsourcing,johnbywater/eventsourcing