send task output to client