periodically when the hot water is timed to go off we get a loud bang. We got our maintainers and they noted that when the thermostat on the hot water tank determines that water has reached desired temperature it switches the pump off. If the central heating is on the pump switches itself off and then comes straight back on again. They informed me that the wiring must have been wrong from when it was first installed as the pump should remain on even if hot water tank is warm enough. They will not fix it under maintenance and advise me to contact the housebuilders (house 5 year old, Is the behavior i am experiencing with the thermostat/pump normal and could it be causing the loud noise.