My central heating system works fine except that when the heating or hot water is switched off by the programmer the pump continues to run constantly. I have replaced programmer and 3 port valve without any improvement. I guess that the pump should run for a number of minutes after the system turns off in order to cool the boiler but I dont know what controls this. Has anyone any ideas?