Under some conditions webcam API completely hangs, fixes #249