1) it happens after a fresh boot of the OS 2) when no other camera software is opened first
Apparently if they activate the camera software first, then our program will run fine when it goes to do camera related actions. If not, freezes every time.
Problem was there was a routine that was connecting/disconnecting to the cameras really quickly. Removed this and made the it better and so far no more locking up.