DEV: more updates for JSON configuration.
FIX: hang on exit in destroyDispatcherQueue