updated concurrency-apis-and-pitfalls.md