Wouldn't you want to rollback instead of `close()` the connection here?