anchor.diff:  %% meaning that peer is probably down/offline, returns error.
   %% @end
   %%--------------------------------------------------------------------
  --spec renew_connections(state()) -> {ok, state()} | {error, peer_offline}.
  +-spec renew_connections(state()) -> state().
   renew_connections(#state{
       peer_id = PeerId,
       session_id = SessionId,
  
positive.code: 
  -behaviour(gen_server).
  
  -include("modules/datastore/datastore_models.hrl").
  -include_lib("ctool/include/logging.hrl").
  -include_lib("ctool/include/onedata.hrl").
  
  
negative.code:     {noreply, State};
  
  handle_info(?RENEW_CONNECTIONS_REQ, State0) ->
      {noreply, renew_connections(State0#state{renewal_timer = undefined})};
  
  handle_info({'EXIT', _ConnPid, timeout}, State) ->
      {noreply, terminate_session(State)};
  