anchor.diff:          pool_name = PoolName,
           port = Port,
           protocol = Protocol,
  -        reconnect_state = #reconnect_state {
  -            min = Min
  -        } = ReconnectState,
  +        reconnect_state = ReconnectState,
           socket_options = SocketOptions
       } = State) ->
   
  
positive.code: 
                      {ok, State#state {
                          client_state = ClientState2,
                          reconnect_state = ReconnectState#reconnect_state {
                              current = Min
                          },
                          socket = Socket
                      }};
                  {error, Reason, ClientState2} ->
  
negative.code:             undefined
      end.
  
  reconnect_state_reset(undefined) ->
      undefined;
  reconnect_state_reset(#reconnect_state {min = Min}) ->
      #reconnect_state {
          min = Min
      }.
  
  reconnect_timer(#state {reconnect_state = undefined} = State) ->
      {ok, State#state {
          socket = undefined
  