private void UnbindLockedList() { if (_unbindList.Count > 0) // put in here in order to save time otherwise spent looping and clearing an empty list { foreach (var realmHandle in _unbindList) { realmHandle.Unbind(); } _unbindList.Clear(); } }