Revert "Ensure connections are properly closed on object destruction" (#291)

This reverts commit 1922ddac389270301e40a0589127cb87262f7cad.

Fixes #292.