Use multithreading to read data asynchronously.