[update] improved example app, attention to network errors