[BUGFIX] Assume pid 0 for global backend context