udp: multipacket - add NULL checks
iptv: udp - fix the mutex protection for the stop callback