whirlpool cabrio

noticed that clothes were still wet and the spin light was still illuminated. ran diagnostic and got error code F9 E1. ran automatic and manual tests everything passed. did some research and took apart drain pump to check for clog. checked drain hose for clog. made sure drain line not too low. checked behind control board for loose wire connections. did a system re-calibration cleared codes. ran fine few times and then had same problem. took door lock off lid and put in lock mech and watched a few cycles with lid up. ran fine however noticed a few times that the final spin timer was at 3 min. remaining and went back to 11 min. and then it completed the cycle after the 11 min. next load washed fine. put lid back on ran cycle and clothes were still wet spin light illuminated error code F9 E1 back on. any suggestions?