It took me years to figure this out: after making dough, do not wash your bread machine!
Just let it dry out for several hours (or days). The otherwise-sticky dough remains that clog everything turn into dry flakes and fall right off. Right into the trash.