Fix concurrency issues with leaderboard