Moved data fetching to separate process.