on successful token confirmation, retry pending api calls.
changing example implementation with better explanation of the new behavior.