Tweak timeout code to not call reject() if operation succeeded
Tweak timeout code to not call reject() if operation succeeded

Calling reject() seems to cause the debugger to break even if the promise had already resolved.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code