added example to show a soft reboot. fixes #20