Handling img request failure