We had similar issue. Washing machine made a loud bang a few times when running. Then one day it made several loud bangs, so I shut it down and pulled the plug.
Thinking it was the washer we left it unplugged but the next day when the dishwasher was running, more bangs. Pulled the plug on...