My washing machine will get stuck right before the rinse cycle. The washing machine will be full of water. The way to "fix it" is to twist the knob right after the "rinse" line, find the sweet spot, ...
In particular, a cast iron drain pipe. It doesn't have to be pretty, but needs to be effective and should last until it can be fixed properly.