Wait before making the aws call