Fix: bug in UniqueIdStorage
Merge pull request #95 from VasilyKolpakov/fix/UniqueId_race_condition

Fix: bug in UniqueIdStorage