refactored escalating kill and added logging