Do not zero the filePromises array before creating the aggregate promise that guards the idle event.