Using pessimistic concurrency