Close mail connections when we're done with them.