Bug 1007588 -[Cost Control] Implement an IAC mechanism to warn other app...

...lications about sending a SMS for requiring balance or making a SMS top-up
Declare a variable to store the id returned by `window.setTimeout()`, then, when resolving in line 30, clear this timeout instead of using the flag `resolved`.