now future.wait() and future.result()  support thread env