finishSession method
void
finishSession()
Implementation
void finishSession() {
if (_state is _ZClosedState || _state is _ZFinState) {
return;
}
_enqueue(ZModemHeader.fin());
_state = _ZClosedState(this);
}