public void Emulate() { server = new Server(); Thread.Sleep(Timeout.Infinite); server.Dispose(); server = null; }
protected override void OnShutdown() { server.Dispose(); server = null; }
protected override void OnStart(string[] args) { RequestAdditionalTime(2 * 60 * 1000); server = new Server(); }