I’ll say increase both timeouts (Outlook and avast). You can change avast timeout in the advanced tab of the Internet Mail provider settings.