don't try to use the response code if there is no such struct
Fix crash on RTSP teardown