Allow to cancel non-flushed writes