Support for reading all output from a task

Fixes #6