Chaining queries with a minimum wait time - TanStack