A Multi threaded Groovy Script to upload images to S3