fix connection leak in transaction rollback