discard_buffers on error