close socket when stopping DummyDNS
DummyDNS use block call in query waiting.
if not enough data received (before 1st time) 
running thread can not break the waiting loop.