wire_list_wait: take the wire early to avoid a race condition