Doesnt finish cyle...... starts and stops

dishwasher will run fine (on auto cycle) UNTIL end of cycle… then stops and drain with 2min times comes on.. OR… it will start the 90 min cycle all over again

dishwasher will try to run this cycle but stops and starts over and over again. to get it to stop we open to door and leave it open..

help..

Sounds like a bad control board.