Project: datamanagement
Issue DM-2716: Fix connection leak (2nd iteration)
Fix connection leak (and memory leak and thread leak) -- we are leaking 2 per query.
Story points: 2