shutdown smtp connection upon complete.