Related: https://discuss.python.org/t/how-to-share-module-state-among-multiple-instances-of-an-extension-module/20663/