Someone noted on gnus.general that their imap connections are frequently broken, and they end up with a lot of dead process buffers. I'm talking to them about maybe making the keepalive timeout configurable, but wouldn't also be tidy to clean up dead process buffers? How does the attached patch look? Eric