ZS_CLOSING
flushflag = (zs->zs_flags & ZS_CLOSING) ? FLUSHALL : FLUSHDATA;
zs->zs_flags |= ZS_CLOSING;