cast away poll() return val to quiet Coverity warn

cast away poll() return value to quiet Coverity warning
when poll() is used for a short sleep (used instead of sleep())
to avoid potential interaction with alarm()