add new api for close udp socket