stopWaitingForToken