handling the swamp kill process