Prevent NPE from ConcurrentHashMap