Dishwasher keeps turning off and on about mid wash

I have a Kitchen Aid KUSD011JBL0 Dishwasher, lately it seem to keep powering of and on during mid wash cycle. It is almost like someone is turning a switch off and on I suspect it may be the control board but I am only guessing any suggestions ?? :confused: