* fixes ZEN-14322, ensure that flush calls are not interleaved