serialize 10 images 3 seconds apart then close stream