I have recently configured mutt to connect to my gmail via IMAP. This has been working reasonably well but I've found that very occasionally, when I am in the index view, I will suddenly be booted from the current IMAP folder, the list of emails will disappear, and the message "Mailbox closed" will be printed at the bottom of the screen. This issue seems to occur randomly.
Can anyone explain what is causing this behaviour? Can I prevent this from happenning?