reduced memory consumption by decreasing number of dns threads