Refactor Add/Take/TryAdd/TryTake methods into a common block in BlockingCollection