public OutCommand WaitForOutCommand() { OutCommand result; _outputQueue.TryTake(out result, 1000); return result; }