RUBY-806 use listIndexes command when wire version >= 3