race condition: new_relays_dict is modified during iteration
See:
https://github.com/torproject/sbws/pull/358#commitcomment-33959784