Closing email connection stores after each use