Use a ConcurrentMap, thanks to @Donghwan