Did you try to increase both timeouts (into avast and into your email program)?