script/osx: kill affected apps