code: synchronized void resume() {
          paused = false;
          if (activeTask == null) {
              activeTask = new IntervalTask(this);
              timer.schedule(activeTask, interval, interval);
          }
      }
docs: Resume monitoring and control of the associated thread pool.