Fixed missing end of session status and error counting when we fail to report end session to the client.