statsdClient refactoring