implement hide_sockets_by_pid for udp