KVEngine: handle WriteConflictException when updating stats