Do asynchronous I/O with std::async