Loading images in a pool thread.