I think that the pressure is surging as the valve try’s to close, and causing a hammer. So, you don’t get a smooth closing, because the pressure is surging. Try replacing the valve, but you might want to install a hammer arrestor on the feed to teh toilet. Sioux Chief used to make one that screwed on after the stop, and then the feed hose connects to it.
Enter your email address to join: