Added a timeout check to searchWhileCreatingIndex with cluster state dump on failure.