Recently had a similar problem with our Ferroli Modena 102 boiler, when the hot water would cut on and off during use. The problem was fixed by replacing the air pressure valve.
A Moffat, April 2008
try changing the dhw theremister, sounds like its gone faulty