Fixed issue with interruption of OMemoryWatchDoc thread