Okta token inline hook not retrying for statusCode 500

I’m trying to get Okta to retry a call to my inline hook under certain scenario’s. My understanding is that a 500 statusCode in the response should force this, but that’s not happening. Any idea’s on what else I need to do to make this work?