switched _.each to async.each