Terraform apply is throwing i/o timeout error

Upon running the terraform apply command and after few seconds, i am getting the below error. How to solve it?

Do you want to perform these actions?
Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes

hyperv_network_switch.k8_virtual_switch: Creating...
hyperv_vhd.K8S_g2_vhd: Creating...
hyperv_network_switch.k8_virtual_switch: Still creating... [10s elapsed] 
hyperv_vhd.K8S_g2_vhd: Still creating... [10s elapsed] 
hyperv_network_switch.k8_virtual_switch: Still creating... [20s elapsed] 
hyperv_vhd.K8S_g2_vhd: Still creating... [20s elapsed]
hyperv_vhd.K8S_g2_vhd: Still creating... [30s elapsed] 
hyperv_network_switch.k8_virtual_switch: Still creating... [30s elapsed] 
╷ 
│ Error: checking for existing k8: error uploading shell script: unknown error Post "https://10.60.0.20:5986/wsman": dial tcp 10.60.0.20:5986: i/o timeout 
│ 
│ with hyperv_network_switch.k8_virtual_switch, 
│ on vm-deploy.tf line 26, in resource "hyperv_network_switch" "k8_virtual_switch": 
│ 26: resource "hyperv_network_switch" "k8_virtual_switch" { 
│ 
╵ 
╷ 
│ Error: checking for existing E:/Virtual Hard Disks/Kube-M/RHEL 9.2_OS_Disk.vhdx: error uploading shell script: unknown error Post "https://10.60.0.20:5986/wsman": dial tcp 10.60.0.20:5986: i/o timeout 
│ 
│ with hyperv_vhd.K8S_g2_vhd, 
│ on vm-deploy.tf line 52, in resource "hyperv_vhd" "K8S_g2_vhd": 
│ 52: resource "hyperv_vhd" "K8S_g2_vhd" {