02-15-2019, 09:09 AM
The channel client wasn't really disconnecting at all. The program was incorrectly detecting that the channel client had quit. Apparently it was checking the Windows task list too frequently, and Windows declined to answer at random moments. I modified it to cache the results for 5 seconds.