add handler for connection error on retrieving image for resize