Update CheckSharedHashMap.java

add checking if SharedHashMap closed then don't call size but throw a "runtime exception" !