core_usb_demo: Add a dummy done flag to loop