fixes timeout to be within the specified amazon range