title: What is the equivalent of CloseOnAuthenticationExpiration in .net core 3 or 5?
body: <p>CloseOnAuthenticationExpiration.</p>
  <p>Official definition - Authenticated connections whose token sets the ExpiresUtc value will be closed and allowed to reconnect when the token expires.</p>
  <p>It was introduced in .Net core 6. What is the equivalent of this in .Net core 3 or 5? If not what are the other options to achieve this?
  I want to make sure whenever token expires it is disconnected and only upon fresh token receipt it gets connected</p>