The drain valve doesn't release at end of a cycle. If the next cycle involves the catalyst function, the water drains instead of recirculating and it throws an F4 fault. The only way to release the drain valve is pull the power plug.
Is the drain valve bad? Or is the control board bad? Reconnecting the power cord does not immediately re-energize the valve. It remains off until the next cycle drains.