code: private void manageTasks() {
          setHostAddress();
          while (!m_bShutdown) {
              checkAllTasks();
              checkForDeadTasks();
              try {
                  Thread.sleep(SLEEP_TIME_MILLIS);
              } catch (InterruptedException e) {
              }
          }
          m_executor.shutdown();
      }
docs: tasks we can run. Shutdown when told to do so.