Reboot unresponsive mjpeg camera

Hey guys- I have an (shitty) Axis camera that I use to get an mjpeg feed from. These cams have a known issue when using multiple streams (like I am…) where they will stop delivering some/all feeds. When this happens, is anyone aware of a way to detect it? I would like to build an automation to reboot the cam…