Fixed sometimes failed to enter S3. Learn more.