title: What do I do first - cancel ScheduledFuture or shutdown ScheduledExecutorService?
body: <p>My code:</p>
  
  <pre><code>ScheduledServiceExecutor service = Executors.newSingleThreadScheduledExecutor();
  ScheduledFuture future = service.scheduleWithFixedDelay(
    runnable, 1, 1, TimeUnit.MILLISECONDS
  );
  // ...
  // now it's time to shut it all down
  future.cancel(true);
  service.shutdown();
  </code></pre>
  
  <p>Am I right here? Maybe I should do:</p>
  
  <pre><code>service.shutdown();
  future.cancel(true);
  </code></pre>
  
  <p>What do you think?</p>