I recommend to set the timeout in Outlook Express to its maximum possible value (menu Tools->Accounts->Properties->Advanced). The actual timeout is managed by avast and can be configured in On-Access Scanner dialog->Internet Mail->Customize->Advanced.