IMAP Is very Slow

IMAP Is very Slow

I am using Bat v 7.4.16 the problem is that when i open my email . Its takes forever to load the email content. Most of the time it doesn't load as well.Here is the output from my mail client

!9/1/2018, 15:03:22: IMAP  - The server didn't reply anything to TImapDownloadFolderContentsAutoIdleRescan_Task command in 90 seconds
9/1/2018, 15:03:27: IMAP  - Disconnected

I cant view my old emails because of this...