Mac mini crashes due to WindowServer timeout
I have a Mac Mini that I only use via Helpwire remote software from my Windows machine. It has a HDMI cable plugged into it, but the other end of that HDMI cable goes into a switch because it's sharing a monitor with another computer. The switch is 99.99% of the time allowing the other computer to use that monitor. The switch is only there so I can view the Mac screen directly if I can't reach it via Helpwire.
I use Helpwire every workday, but around twice a week it says the Mac Mini is inaccessible. I flip the HDMI switch to see what's going on and the Mac is at the login prompt screen. After logging in it tells me it crashed and/or rebooted.
The error is:
panic(cpu 0 caller 0xfffffe0050fa7bc0): userspace watchdog timeout: no successful checkins from WindowServer (2 induced crashes) in 120 seconds
service returned not alive with context : is_alive_func returned unhealthy : WindowServer initialization not complete (post IOKitWaitQuiet)
How can I disable that watchdog? Or fool it into thinking the monitor is just fine. I want it to ignore this situation completely. I can understand why it's not pleased when it gets into that state, but rebooting doesn't solve anything. The machine shows no other sign of being in peril.
Would it be better if I just disconnected the HDMI cable completely?