Replace hpx::future by hpx::unique_future