Commit/rollback on request success/failure.