Fixing data race in context. And it's faster too.