Tighten up the concurrency code.