Get rollback status only if we are inside of an atomic block.