ENH: adding back indexer wait call

This now allows to have this same code to be suitable for master and 4.2. The
CTK indexer wait API has been deprecated, but is available for compatibility.