only set need_rollback to true once BEGIN has been executed