title: Why doesn't this program terminate?
body: <p>New to java, but I can't figure out why this program doesn't terminate:</p>
  
  <pre><code>import java.util.concurrent.Executors;
  import java.util.concurrent.ScheduledExecutorService;
  
  class Main {
      public static void main(String[] args) {
          ScheduledExecutorService ex = Executors.newScheduledThreadPool(100);
          ex.submit(() -&gt; { System.out.println("."); });
      }
  }
  </code></pre>