Sounds like an internal switch or relay but unless you have knowledge of working on washers, you may have to call this guy. He's waiting.
If the water that pumps out of the machine goes back into the machine after the spin cycle, your washer may be siphoning the water from a laundry tub that has a slow drain, back into the washer. The usual remedy for this is to improve the draining of the laundry tub. (Is something stuck in the drain?) Also, check for these problems:
If the drain hose reaches more than about 4 inches into the laundry tub, cut off the excess.
If your drain hose is lower than the washer's cabinet, install an air gap/siphon break assembly.
For details check out here
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them