GeoDns test: avoid race in test code
Fixe sandbox/dropwizard compilation errors