when token is invalid we should return immediately