only kill process if not already dead