startedMailReadingThreads = false;
  private void stopMailReadingThreads ()  {    for (Enumeration e = messageInThreads.elements(); e.hasMoreElements(); )     {      MessageInThread messageIn = (MessageInThread) e.nextElement();      messageIn.quit();      }    messageInThreads.removeAllElements();    startedMailReadingThreads = false;  }