If using -u/unbuffered set the stdout of the task to be
line buffered.