Fix to stop webcam stream after upload.