Replace unique_future by future