Deduplication: Use ThreadManager for error reporting

Signed-off-by: Ross Allan <rallanpcl@gmail.com>