Stopping the foaming reaction until the material is heated or re-heated