Only open the cam once. Fixes memory leak.