i am using js sdk of kuzzle, sometimes (after few days of running) all request fails and i get: "Insufficient permissions to execute this action" what's the best method to avoid it ? Should i check the jwt token is still valid before request ? or how to get notified of token expiration (i set it to 1 year) ?