Attempting to fix my kill process command