Only refresh when server responds with 401. …
401 error is sent when the access token expires. 402 if the user is not a subscriber.