This makes it impossible to call this function from another function that already has ``@commit_on_success``