Idempotency using the in memory repository