restore statsd instance creation