Check if core record still exists before attempting to access from the Rails job.  If it doesn't exist skip the pid.