fix for the spikes when restarting netdata