private void CloseHistricalQueue()
{
if (this.historicalQueue != null)
{
this.historicalQueue.Enqueue(new OnQueueClosed(this.historicalQueue));
this.historicalQueue = null;
}
}