Added race condition check, clarified README.md