What version of avast do you have ?
As the latest version 17.5.2232 has a function to have avast in passive mode. AvastUI > Settings > Trouble shooting.