[examples] Make sure we check errors returned by duv_listen