fix task log streaming