Only fetch data once if component is open - after close and reopen fetch again - TanStack