fixes crash in check_rtp_timeout