restart must call flow.pickel_dump()