protected void CloseHandler(object o, EventArgs ea) { RelayEdge te = o as RelayEdge; lock(_sync) { _id_to_tunnel.Remove(te.LocalID); } }