Improved the sindex_wait() polling nap logic. Minor cleanup of the sindex not ready error handling.
Fixed a bug in the sindex status retrieval. It only considered the first shard multiple times, rather than considering all shards.