private void DispatchRequests(Command command) { lock (syncLockObject) { dispatchCommands.Enqueue(command); if (thread == null) { thread = new DispatchRequestThread(this, dispatchCommands, syncLockObject); thread.Start(); } } }