fix async error handling issues with s3 bucket and static config creation