pessimistic locking for cloud stores to fix concurrent modifications, and allow concurrent uploads, not really concurrent but more threads happens faster than 1 at a time