It seems that some program on your computer makes a connection with the mail scanner but sends no data on it. You can

  1. find that program and reconfigure it
  2. change the ports used by avast or
  3. disable timeout checking in avast