Thread safety added to MemorySequentialUIDGenerator