Dishwasher starts and stops then shuts off

it starts fine, fills and starts washing, then stops and starts up. It does this a few times then totally shuts off.

Answered here: http://forum.appliancepartspros.com/dishwasher-repair/39204-mary.html

Gene.

— Begin quote from mwindsperger;104269

it starts fine, fills and starts washing, then stops and starts up. It does this a few times then totally shuts off.

— End quote

This exact thing happpens on my five year old ADB2200AWS
I don’t know whether to fix or replace. I am going to check the motor as suggested. Any other suggestions?