Improved error handling in `ChanThreadDownloader` example.