To wrap it all, we close the interface and device, and return from main.
(*usbInterface)->USBInterfaceClose(usbInterface); gfi endpoint security usb 3 endpoint security 10 close