Thread change ref #4378

Small edit to eliminate saved variables.