Added wait for access key to register with AWS

Without which caused successive calls to fail with:
    AWS Error Code: AuthFailure, AWS Error Message: AWS was not able to validate the provided access credentials