This is actually an issue I've run into with my Whirlpool WFW92 front loader, but it's a built in sequence in all WP built washers.
If for any reason, whether the water valves are shut off to the machine, or the pressure is so incredibly low that it fills with a dribble, the board will decide...