anchor.diff:              schedule_session_activity_checkup(RemainingTime),
               {noreply, State, hibernate};
           {false, {error, Reason}} ->
  -            ?error("Checking session ~p activity error ~p", [SessionId, Reason]),
  -            spawn(fun() ->
  -                session_manager:terminate_session(SessionId)
  -            end),
  +            ?error("Checking session ~p activity failed with error: ~p", [
  +                SessionId, Reason
  +            ]),
  +            async_terminate_session(SessionId),
               {noreply, State, hibernate}
       end;
   
  
positive.code:             end),
              NewState = State#state{
                  credentials = NewTokenCredentials,
                  validity_checkup_timer = NewTimer
              },
              {reply, ok, NewState, hibernate};
          false ->
              mark_inactive(SessionId),
              schedule_session_removal(0),
              {reply, ok, State}
      end;
  
negative.code: 
  -record(state, {
      session_id :: session:id(),
      session_type :: session:type(),
      session_grace_period :: session:grace_period(),
      identity :: aai:subject(),
      % Possible auth values:
  