This might be too simple but that happened to me and it was a worn washer where the cold water hose connected to the wash machine.
Had the same problem with mine. Replaced the water valve ($35) and, cross my fingers, that seems to have worked.