moved RemoveIf into RwLockedDictionary