Solve concurrency problems