TYRUS-294: Close reason is not 1006 when connection is closed without sending/receiving close frame.