Fixed possible threading issue.
Fixed possible threading issues.
Fixed possible threading issue.