Token not getting created fast enough