webcam capture crashes when setupconn is not already done by the time it
is called.