Use futures

Workaround for https://rt.cpan.org/Public/Bug/Display.html?id=92425