private void DoWork(object workItemState) { var aleContext = new AleContext(_context); EventLoop.Pend(() => { Server.Create().Execute(aleContext); if (_callback != null) { _callback(this); } }); }