public static void runRunnable() {
		try {
			ThreadPoolExecutor executor = ExecutorsFactory.getNewExecutorsPool();
			Monitor monitor = new Monitor(executor, 3);
			Thread monitorThread = new Thread(monitor);
			monitorThread.start();
			for(int i = 0; i < Configuration.WORKERS_NUMBER; i++) {
				Runnable worker = new WorkerThread(String.valueOf(i));
				executor.execute(worker);
			}
			Thread.sleep(60000);
			executor.shutdown();
			while (!executor.isTerminated()) {
				System.out.printf(".");
				Thread.sleep(100);
			}
			System.out.printf("\nAll workers done. Bye\n");
			monitor.shutdown();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}