Resolved issue when in certain scenario AbstractHandler.MissingDependencies would get into invalid state (Count == -1), since HashSet<T> is not thread safe.