report session error count on exit