OAuth2.0 Client Credential Grant

I have a Connected system with OAuth2.0 Client Credential Grant and an integration - using this connected system and making a  post service call.

Observation while testing - Whenever Appian making a service call using the above integration and if service responds back with 401/403 then it goes and request for new token and then use that token in the service call. Appian is not requesting for fresh token every time when there is a service call, it only request for token when service responds back with 401/403. Token expires in every 30 mins and due to that every 30 mins service logs are reporting error response code which is 401. 

Is there any way Appian can control for requesting of token before a service call , rather than depending on the authentication error.

 Discussion posts and replies are publicly visible