updated Array.prototype.forEachAsync