Cache the process ID so we can still refer to it after the process exits