Fix carts expiration in concurrent environments