Concurrency fixes in dht containers