added crash detection after restart
made radius stats sending more robust