send tar to s3 and send post request after each batch