anchor.diff:  %% gen_server callbacks
   %%===================================================================
   init([]) ->
  -    State = connect(#state{tref = undefined, timeout = 10}),
  +    State = connect(#state{state = disconnected, tref = undefined, timeout = 10}),
       {ok, State}.
  +
  +handle_call(Request, _From, State = #state{state = disconnected}) ->
  +    lager:warning("got call ~p without active data path", [Request]),
  +    {reply, {error, not_connected}, State};
   
   handle_call(_Request, _From, State) ->
       {reply, ok, State}.
  +
  +handle_cast(Request, State = #state{state = disconnected}) ->
  +    lager:warning("got cast ~p without active data path", [Request]),
  +    {noreply, State};
   
   handle_cast(_Request, State) ->
       {noreply, State}.
  
positive.code: 
  -include("include/capwap_packet.hrl").
  
  -record(state, {tref, timeout}).
  
  -define(SERVER, ?MODULE).
  
  
negative.code: 	    erlang:monitor_node(Node, true),
  	    clear(),
  	    bind(self()),
  	    State#state{state = connected, timeout = 10};
  	pang ->
  	    lager:warning("Node ~p is down", [Node]),
  	    start_nodedown_timeout(State)
      end.
  
  handle_nodedown(State) ->
      State#state{state = disconnected}.
  
  %%%===================================================================
  %%% Development helper
  