I\'ve implemented a TaskScheduler that acts as an eventloop, I use AutoResetEvent to notify the eventloop thread that there\'s new Task on the queue, it works great most of the