Stop webcam when snap photo