Move get data to separate thread