public void RunToCompletion() { _ready.WaitOne(); _ready.Release(); if (_stoppingException != null) { throw _stoppingException; } }