Fix Promise.all semantics