Made static method synchronized as multithreaded access could be
problematic