Libs/Resources: Fixed race