Random clothes left wet at end of cycle

Hello, the washer will randomly leave clothes wet but all water is out of tub. The Maytag repair manual says if timer is off,which it is, and there is not any suds left that it is a faulty inertial unbalance switch. Do you feel that could be the problem? I just ran a load and it worked fine. It randomly, maybe every dozen loads, will leave clothes wet.