fixed images resizing; replaced thread pools by async tasks