Add support of multi-thread thumbnail adding