show stats on exit
stats on shutdown rewrited