Race condition executing a common pattern (select or insert) - Drizzle Team