added closing class loader at undeploy time