some flushing while printing the s3 content