You should be able to kill the task if disable the avast self defense first.
Ofcourse don’t forget to enable it again.