As a side note, I also have another HDMI TV (LG, but older make) and when I turn the TV Off the output disappears from the output list. This situation is fine for me as I am able to handle this scenario in the code.
Can I ask you how you handle this in code? Because I am struggling with this issue a long time and don't know what to do about it. My complete program always freezes if someone turns on/off a tv.
AFAIK the problem is with WIN messing up the display settings when attaching/de-attaching/turning on/off a display.