It sounds like what you're experiencing is "water hammer". It occurs when there a sudden stop of the water. Try closing the faucets or valves slower. You should feel it if you turn off a fire hydrant too fast. It'll make the ground shake under your feet. Water mains have been broken due to the stress.
http://en.wikipedia.org/wiki/Water_hammer
http://en.wikipedia.org/wiki/Water_hammer