Added calls to lock() in class ResourcesOwnershipRequester.