bugfix: always reset data on error
bugfix: always reset data on error

buckets *should* be reset at each flushInterval,
so that it isn't errorously included in the next calculations
which would lead to incorrect data.
irrespective of metric type

vimeo/statsdaemon,raintank/statsdaemon,vimeo/statsdaemon,Huangyan9188/statsdaemon,raintank/statsdaemon,ctdk/statsdaemon,deepglint/statsdaemon,shawnbutts/statsdaemon,raintank/statsdaemon,vimeo/statsdaemon,nejec/statsdaemon