validate: fix crash if timeout when media_descriptor is None
Some tests may not have any media_descriptor. If those were failing to shutdown after EOS we were calling get_protocol() on None.
Some tests may not have any media_descriptor. If those were failing to shutdown after EOS we were calling get_protocol() on None.