Change API to provide exit code/signal.
Update parallel console to use new features.