kitchen aid standalone ice maker

the ice maker will run and make ice but then will cycle to the clean mode.I can clean and restart it and it will make ice for about 1-5 hours then will go to clean mode again. I bypassed the control panel and it still goes to clean. I think it is the control board any help?