retry on custom useInfiniteQuery with graphQL-request - TanStack