Minor cleanups.
Stream task output asynchronously.