Remove only owned event listeners in removeDeployment.