Fixed hang with mingw gcc relating to deferred launch of future