terminate Session
Terminate the session, send a status code to the holder, and close data transport.
Parameters
session Status
the status code sent to the holder.
Throws
when the SessionStatus code is received.
After handling session termination, thrown to indicate that the sessionStatus code has been sent.
Exceptions during the sendData
call are Ignored.