public void AddMessage(NetworkRequest r) { if (run) { pendingRequests.Add(r.Clone()); workerEvent.Set(); } }