release buffers when capture is stopped