Whirlpool duet front loader

I am getting an error code f09 e01 codes part way through a cycle. I have checked the pump filter, checked the drain hole for the door gasket, checked the hoses going to and from the pump, and checked the drain. I cleaned the screens on the water lines and cleaned the dispensor. What else could it be? I can unplug the washer for a few minutes plug it back in and sometimes is fine for a few loads. The pump seems to pump just fine. I am stumped. Help please!