Maytag washer won't spin after rinse

After rinse the extended spin won’t start-up, it tries but it stops,if I open the lid and close it, it starts to spin. I replaced the timer that’s not it.
help!!!