[fix] No more segfaults when changing host/port values of udp reporter