Fix bug: st_udp_socket added at runtime will not able to send or recv msgs.