closeCause
Why the endpoint closed, or null while it is open: CoapException.Reason.CLOSED after close or when its scope was cancelled; CoapException.Reason.TRANSPORT_FAILED, with the transport's exception as cause, when the datagram transport failed. Set once, in the terminal transition.