removed resolve_futures