ConnectionScope wraps the connections that our pool hands out. Calling close() on one of these connections releases it back to the pool and returns True.
The scope reliably closes connections, but production writes report success even when the database operation inside the with block raises an exception.
Fix ConnectionScope in connection_scope.py.