- fix NPE when runtime manager already disposed in test