Probelm Sync and setup with yandex servers

I have problem with yandex imap folders. I have about 100 folders with sub folders on yandex IMAP server. I selected offline use on options but cannot sync when I click Refresh button. And cannot sync at background too.

Extra problem is when I close the program on right top corner. Stuck on background and cannot close too long time I wait.