private static void execute(String exec) {
        for (int i = 0; i < params.repeat; i++) {
            Runnable task = new Task(exec, params.test);
            pool.execute(task);
            if (!params.test) try { Thread.sleep(1001); } catch (InterruptedException ex) {
                System.out.println(ex);
                ex.printStackTrace();
            }
        }
    }