Added future variable to std::async call