Shutdown the process manager before shutdown the registry.