Add timeout for the access token because of reactjs processing speed.