Listen for worker to finish and get list of duplicates