Fix bug where IMAP doesn't refresh counts after IDLE timeout.