Player keeps streaming when HDMI powers down

Server Version#:
Player Version#: 10.24.0.22557

I use a DirecTV stream box with my TV. It runs AndroidTV. When the TV is powered down, for example due to a sleep timer, the box remains powered on and playing. Other streaming service players are smart enough to detect the loss of display and pause the player. Plex, however, keeps playing. Is there any way to make the player respond to the loss of HDMI display by pausing the player?

If this was open source, I would submit a PR. It seems that all which is needed is for the player to subscribe to the proper event.