getpid sanity check