fix #7 : close node-imap socket