Race condition: Missing entries in key value store

Additional information: when the first key fails (“test.1”) it also only has 2 items in the key store.

Example:

[test.1:01F6SW8K1J4YT7V8VQHFRF8VR6 
 test.1:01F6SW8K1NVT5Q282G66W0BNMP 
 test.2:01F6SW8K1P4VPCD8MYQMRHJ5R8 
 test.2:01F6SW8K1PY9XDBPNCEF6KXDP8]