Set timeout on SMTP connection