This tiny Go-based tray app prevents the Razer BlackShark V2 Pro (and similar) wireless headsets from disconnecting due to microphone inactivity.
You can can download it from: https://github.com/ndanilo8/razer-mic-keepalive.
Another workaround (it didn't work for me) is to Disable `Allow the computer to turn off this device to save power` in device manager.
https://insider.razer.com/razer-support-45/razer-blackshark-v2-pro-random-disconnect-issue-fixed-63698