Finish activity after a restart as the token is not valid anymore when the server restarts