Rollback on API failure