ZSTD-4724 [Notifications] Invalid thread access when closing Studio