You'd need to read the boiler installation manual to find out if they have any specific recommendations for pump overrun. However, it is generally recommended to have one to reduce thermal shock in the boiler heat exchanger. If you have one, you then need some kind of bypass so that it can still pump successfully when all the valves are closed.