coverity: filter: Fix out-of-bounds read
coverity: uplink: check for poll sleep return code