title: the number of generated threads
body: <p>I want to make my listener to run muti-times, this my solution but i guess this will make a problem and number of threads in memory will be very large is it??</p>
  
  <pre><code>Timer timer = new Timer();
          executor = Executors.newSingleThreadScheduledExecutor();
          timer.schedule(new TimerTask() {
  
              @Override
              public void run() {
  
                  scheduleTime = Config.NILEDOX_INBOUND_AUTOIMPORT_ROTATE;
  
                  if(scheduleTime&gt;=1){
  
                      /** setup single thread to run background service every x minutes **/
  
                      service = new AutoInboundMailImportService();
                      executor.scheduleWithFixedDelay(service,1,1,TimeUnit.MINUTES);
  
  
              }
          }}, 120000, 60000);
  </code></pre>
  
  <p>any idea??</p>