Why does invalidateQueries() break mutate()'s onSuccess() sometimes, but not mutateAsync().then() ? - TanStack