keep reference to amazons3client object to prevent it from being gc'd