fix logic error in poll_feeds task