The workflow now terminates when an EndNode is reached.