add closing statement on MailManager: first issue revolved