Fix example with promise wrapper.
Merge pull request #18 from mondwan/fix_window_unreachable

Fix window unreachable
Merge pull request #16 from GermanBluefox/master

Fix example with promise wrapper.
Catch keyword TTL instead of round-trip time

--Overview
1. According to Issue #17, catching ```TTL``` is better than catching
```rountd-trip```