Before actually closing the session, the logout initiator should wait for the opposite side to respond with a confirming Logout <5> message. This gives the remote end a chance to perform any Gap Fill operations that may be necessary. The session may be terminated if the remote side does not respond in an appropriate timeframe.
The logout initiator should not send any messages after the logout.
The '^' character is used to represent SOH character.