USB Conection under computer sleep

Hi friends

I have configured virtualhere on a raspeberry pi as a usb server of a dongle that protect a software that i use on the go, it work's perfectly but i have a problem.
The software that i use is always checking if the dongle is conected, when the client computer goes to sleep i loose the conection to my virtualhere usb server so the software shut down and i loose all my unsaved work, is there any way to prevent this?

usbserver: raspberry pi
cliente: windows 10




You cannot have the computer sleep because the USB device will be disconnected because your network goes down