Fix bug if statsd_client is None