Fix and workaround for only udp.