Workaround for AWS Java SDK