patch futures resolving multiple times