Cancel the write. Any changes will not be persisted to disk.
if the write transaction was already cancelled.