fixing promise.all/promise.race scheduling bug, per #25