Corrected the race conditions.
2 files changed