added synchronized block for method findClass of custom classloader