Ensure output and monitoring goroutines complete before finalising job.
Merge pull request #34 from theojulienne/bugfix/missing-output

Ensure output and monitoring goroutines complete before finalising job.
Merge branch 'master' into refactor-logging
Show PID in the logs when booting up.