Better support for restart. Do not write anything under any circumstances.