add async dns support
fix query
add pthread check
update timer interval
print more details