What system are you running and what security software do you have installed along with avast, some details are necessary for troubleshooting.

Does this still happen if you disable silent mode?