Transient magmatic convection prolonged by solidification