jpeg.c: Break image compressing if onion request was aborted.