Disconnected from OpenHistorian Server

Yes, that is helpful. It further confirms my suspicion that thread pool threads are being leaked. On top of the fact that the error message explicitly states there aren’t enough thread pool threads, the setting for MaxThreadPoolWorkerThreads defaults to 2048, which is suspiciously close to that count of total threads used.