Cleanup some code in image_cache_task.rs.