Thumbnail retrieval in async task

issue #1915