Check if the pid of another instance is actually valid.