IResourceLoadingCallback Issue

When we try to skip the URL for checking internet by using IResourceLoadingCallback, we found out that it is still trying to connect to the internet. Since our server is not connected to the internet due to security policy, we want to ignore the internet checking totally.

@ITLicence Could you please attach your input document and code that will allow us to reproduce the problem on our side? Do you use the following implementation for skipping loading external resource upon loading documents:

private class ResourceLoadingCallback : IResourceLoadingCallback
{
    public ResourceLoadingAction ResourceLoading(ResourceLoadingArgs args)
    {
        return ResourceLoadingAction.Skip;
    }
}