Expose AllInputClosed message as a Stop message (#1026)
This PR makes it possible for nodes to stop when all input is closed.
This is necessary because when merging two different event stream and we
want to stop when all event from dora finishes we can rely on the stop
messages to stop.
It also removes the complexity of the event stream code.