My web app is performing a poll request every 10 seconds and before each request checks if the access token is about to expire. In case the token is expired it is calling the refreshCustomData method which calls the /auto/session API to obtain a new access token.
This works ok for several hours but at one point I notices the request is stalled for nearly an hour and eventually times out without any failure code.
Is there any reason for this behavior? Please note that the refresh token is still valid.