Webcam loops until interupted