ASYNC_CLOSING
async->async_flags |= ASYNC_CLOSING;
flushflag = (async->async_flags & ASYNC_CLOSING) ? FLUSHALL : FLUSHDATA;
async->async_flags |= ASYNC_CLOSING;
async->async_flags |= ASYNC_CLOSING;
ASYNC_CLOSING) ? FLUSHALL : FLUSHDATA;