Threaded the webcam stream