title: JavaMailSender timeout doesn't work
body: <p>i am using javaMail 1.4.4 and Spring 3.2.
  I want set timeout on my javamail connection when i send a email, but doesn't work. 
  The connection doesn't expire after the period established.
  This is my config </p>
  
  <pre><code>public JavaMailSenderImpl createJavaMailSender(String smtpName) {
      JavaMailSenderImpl mail = new JavaMailSenderImpl();
      mail.setHost(smtpName);
      Properties mailProperties = new Properties();
      mailProperties.setProperty("mail.debug", "true");
      mailProperties.setProperty("mail.transport.protocol", "smtp");
      mailProperties.setProperty("mail.smtp.timeout", "20000");
      mailProperties.setProperty("mail.smtp.connectiontimeout", "20000");
      mail.setJavaMailProperties(mailProperties);
      return mail;
  }
  </code></pre>
  
  <p>Thanks in advance.</p>