Memleak: free the imap-handlerlist on exit