Not really an avast! issue, but rather eMule design. On eMule closing it will flush disk buffers to disk (lots of disk accessing), send all clients "quit" message (that you went offline), save contacts and all sorts of other stuff.
I guess that pretty much depends on how much memory you have, which CPU you use and how fast is your HDD. Swaping data from memory to pagefile just makes things worse...