cpp/thread/shared future/wait for