Debugged concurrency problem.