Fix broken build due to badly handling futures.