imap.tests: created connections needs to be disposed