Fixed Kill function to use static process data