Keycloak | How to acheive get timeout event after Redirected to identity provider

I have configured an identity provider in keycloak. After redirection to the identity provider,
If I close the browser or leave it idle till timeout(30 min) it doesn’t trigger any event of timeout or redirection final response. As per my use case if no keyclaok doesn’t get any
response from the redirected identity provider ( either by closing the window or leaving it idle) for a specified time then it should add a log of timeout. How can I achieve this scenario?