anchor.diff:                               null -> JoinState1;
                                _    -> add_connections([Conn], JoinState1, back)
                            end,
  -            NewConns = [begin
  -                            NewConn = new_connection(Conn),
  -                            Msg = {lookup_aux, Id, 0,
  -                                   {join, get_candidate, comm:this(), Id, MyLbPsv, NewConn}},
  -                            ?TRACE_SEND(Node, Msg),
  -                            comm:send(Node, Msg),
  -                            msg_delay:send_local(get_lookup_timeout() div 1000, self(),
  -                                                 {join, lookup_timeout, NewConn}),
  -                            NewConn                     
  -                        end
  -                        || Id <- JoinIds],
  +            NewConns =
  +                [begin
  +                     NewConn = new_connection(Conn),
  +                     Msg = {lookup_aux, Id, 0,
  +                            {join, get_candidate, comm:this(), Id, MyLbPsv, NewConn}},
  +                     ?TRACE_SEND(Node, Msg),
  +                     comm:send(Node, Msg),
  +                     msg_delay:send_local(
  +                       get_lookup_timeout() div 1000, self(),
  +                       {join, lookup_timeout, NewConn, get_join_uuid(JoinState2)}),
  +                     NewConn                     
  +                 end
  +                 || Id <- JoinIds],
               JoinState3 = add_connections(NewConns, JoinState2, back),
               case Phase of
                   phase4 -> JoinState3;
  
positive.code:     NewConn = new_connection(Conn),
      LbPsv = get_lb_psv(JoinState),
      LbPsv:get_number_of_samples(NewConn),
      msg_delay:send_local(get_number_of_samples_timeout() div 1000,
                           self(), {join, get_number_of_samples_timeout, NewConn}),
      JoinState1 = update_connection(Conn, NewConn, JoinState),
      set_phase(phase2b, JoinState1).
  
  
negative.code:                     % id is correct but the node is not (should never happen!)
                      log:log(error, "[ Node ~w ] got join_response but the node "
                                    "changed, trying next candidate", [self()]),
                      NewJoinState = try_next_candidate(JoinState),
                      ?TRACE_STATE(NewJoinState),
                      {join, NewJoinState, QueuedMessages};
                  _ ->
                      MyId = node_details:get(lb_op:get(Candidate, n1_new), new_key),
                      MyIdVersion = get_id_version(JoinState),
  