In earlier avast versions mail were routed through the localhost (127.0.0.1) and this would pass through very quickly and/or possibly form a buffer that masked any timeout settings.