changed manyFriendships to use mapSeries to avoid deadlocks