live_capture() now behaves correctly when called multiple times.