Try to opportunistically flush statsd data in maintenance scripts