central heating works fine when calling for hot water fine till it is switched of then pilot light goes out ,does not do it all time ,usualy when having a shower
could be the h/water high limit stat isn't working properly and boiler is overheating when the h/water flow rate is low as when using shower run a hot tap slowly the boiler should cut on and off without shutting down