Try making the ‘Timeout for Internet communications’ longer, (Under Avast internet mail > customize > Advanced).

–lee