sdk/src/com/socialize/SocializeServiceImpl.java
@Override
	public synchronized void destroy(boolean force) {
		if(force) {
			
			if(AsyncTaskManager.isManaged()) {
				AsyncTaskManager.terminateAll(10, TimeUnit.SECONDS);
			}
			
			if(container != null) {
				if(logger != null && logger.isDebugEnabled()) {
					logger.debug("Destroying IOC container");
				}
				container.destroy();
			}
			
			config.destroy();
			system.destroy();
			initCount = 0;
			initPaths = null;
			entityLoader = null;
			session = null;
			authProviders = null;
		}
		else {
			destroy();
		}
	}
@Override
	public synchronized void destroy(boolean force) {
		if(force) {
			
			if(AsyncTaskManager.isManaged()) {
				AsyncTaskManager.terminateAll(10, TimeUnit.SECONDS);
			}
			
			if(container != null) {
				if(logger != null && logger.isDebugEnabled()) {
					logger.debug("Destroying IOC container");
				}
				container.destroy();
			}
			
			config.destroy();
			system.destroy();
			initCount = 0;
			initPaths = null;
			entityLoader = null;
			session = null;
			authProviders = null;
		}
		else {
			destroy();
		}
	}
/*
(non-Javadoc)
@see com.socialize.SocializeService#destroy(boolean)