Explicitly close a cv::VideoCapture after it breaks