code: public static void run(final Runnable runnableWork,
              final long timeoutInSec) {
          ExecutorService threadPool = Executors.newFixedThreadPool(2);
          afterTimeout(timeoutInSec, threadPool, threadPool.submit(runnableWork));
      }
docs: Run.
  
  @param runnableWork the runnable work
  @param timeoutInSec the timeout in sec