parallel foreach
Don't create new instance of Resolver each time
Use tryadd, not add