public static void load() {
		// Create the connection to
		ExecutorService pool = Executors.newFixedThreadPool(1);

		Thread th = new Thread() {
			public void run() {
				int i = 0;
				while (i++ < 10) {
					try {
						sleep(1000);
					} catch (InterruptedException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}

				}
			};
		};
		Future fut = pool.submit(th);
		int i = 0;
		while (true) {
			if (fut.isDone())
				break;
			try {
				Thread.sleep(300);
				if (i++ > 20) {
					i = 0;
					System.out.println();
				}
				System.out.print(".");
			} catch (InterruptedException e) {
				e.printStackTrace();
			}

		}

		pool.shutdown();
	}