Close upd socket using rawserver. Prevents Rawserver from trying to poll
a closed socket.