DEV: Close transactions at the end of HTTP Requests.

Fixes #84