Add wait after scan, cleanup PIEUSB_STATUS