[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- removed IsEmpty test since it isn't needed now