Async example from http://solarianprogrammer.com/2012/10/17/cpp-11-async-tutorial/