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.
Merge branch 'next' into daniel_2179
Merge branch 'daniel_2179' into next