Deal with the concurrency hazards. V1.0