sump pump discharge question

My check valve "water hammer's" when the pump shuts off
I have 2 pumps under my house, both same model pump in each pit, one is much worse than the other. Check valve on each pump
one does that also but it's the pipes I believe knocking against the joists