Added support to restart a workflow.