Remove S3 private connection. Fix attachment destroy callback.