Resolves concurrency issue.