fixes to enable proper shutdown/restart of smtp connection
fixes to enable proper shutdown/restart of smtp connection

jniles/emailjs,eleith/emailjs,eleith/emailjs,lvnhmd/emailjs,jniles/emailjs,eleith/emailjs,imclab/emailjs,imclab/emailjs,lvnhmd/emailjs